package com.example.conf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wpdcn
 * @since 2020-03-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shop_member_delivery")
public class ShopMemberDeliveryEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @Column(comment = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 会员id
     */
    @Column(comment = "会员id")
    private String memberId;

    /**
     * 收货人
     */
    @Column(comment = "收货人")
    private String receiver;

    /**
     * 联系电话
     */
    @Column(comment = "联系电话")
    private String mobile;

    /**
     * 省份id
     */
    @Column(comment = "省份id")
    private String provinceId;

    /**
     * 城市id
     */
    @Column(comment = "城市id")
    private String cityId;

    /**
     * 区县id
     */
    @Column(comment = "区县id")
    private String areaId;

    /**
     * 地址
     */
    @Column(comment = "地址")
    private String address;

    /**
     * 是否默认：1默认；0非默认
     */
    @Column(comment = "是否默认：1默认；0非默认")
    private String defaultSet;


}
